/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package shareit;

/**
 *
 * @author pat
 */
public class Billing {
	private int customerID;
	private int overduePeriod;
	private int billingDate;
	private int dueDate;

	public Billing(int customerID, int billingDate, int dueDate) {
		this.customerID = customerID;
		this.overduePeriod = 0;
		this.dueDate = dueDate;
		this.billingDate = billingDate;
	}

	public int getBillingDate() {
		return this.billingDate;
	}
	
	public int getDueDate() {
		return this.dueDate;
	}

	public double calculateOverduePeriod(double endTime, int dueDate) {
		double _overFlow = (endTime-dueDate)/(0.25);
		return _overFlow;
	}
}